import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { AppUserVO } from '@/api/system/appUser/types';

/**
 * 查询用户信息
 * @param userId
 */
export const queryUserInfoByType = (queryType: string, queryData: string): AxiosPromise<AppUserVO> => {
  return request({
    url: '/system/appUser/queryUserInfoByType',
    method: 'get',
    params: {
      queryType,
      queryData
    }
  });
};
